package com.jk.dmconsumer.service;

import com.jk.dmcommon.entity.OrderEntity;
import com.jk.dmcommon.entity.TicketEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @描述
 * @参数 $
 * @返回值 $
 * @创建人 lgf
 * @创建时间 $
 * @修改人和其它信息
 */
@Component
@FeignClient("dmuserprovider")
public interface DingService {

    @RequestMapping("ding/findOrder")
    OrderEntity findOrder(@RequestParam String orderId);

    @RequestMapping("ding/findcouponId")
    TicketEntity findcouponId(@RequestParam Integer couponId);
}
